﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title><?=$mall['name']?> - 商城导航 - <?=WEBTITLE?></title>
<meta name="keywords" content="<?=$mall['name']?>" />
<meta name="description" content="<?=$mall['des']?>">
<LINK rel=stylesheet type=text/css href="template/<?=MOBAN?>/css/mall.css">
<LINK rel=stylesheet type=text/css href="template/<?=MOBAN?>/css/common.css">
<script type="text/javascript" src="template/<?=MOBAN?>/js/jquery-1.3.2.min.js"></script>
<SCRIPT type="text/javascript" src="template/<?=MOBAN?>/js/function.js"></SCRIPT>
<script language="javascript">
$.ajaxSetup ({
    cache: false //关闭AJAX相应的缓存
});
$(function(){
    $('.checkLogin').click(function(){
		url=$(this).attr('href');
		lay=$(this).attr('layer');
		index=$(this).attr('index');
		$('#jumpbox .detail').hide();
		$('#layer_mall').show();
		var ddusername='<?=$_SESSION['ddusername']?>';
		var img=$('#left .malllogo img').attr('src');
		var price=$('#left .malljj .malldetail').find('font').html();
		$('#jump_pic').attr('src',img);
		$('#jump_href').attr('href',url);
		$('.jump_price').html(price);
		
	    if(ddusername!=''){
			window.open(url);
		}
		else{
		    $('.jumpbox').show();
		}
	return false;
	});
	
	$('#jumpclose').click(function(){
	    $('.jumpbox').hide();
	});
});

</script>
</head>

<body>
<?php
include("header.tpl.php");
?>
<?php
include("nav.tpl.php");
?>
<div id="weizhi">当前位置：<a href="index.php">首页</a> > <a href="malllist.php">商城导航</a> > <?=$mall['name']?></div>
<div id="main">
	<div id="left">
		<div class="malljj">
			<div class="malllogo"><span style="writing-mode: tb-rl;vertical-align: middle; height:150px"><img src="upload/<?=$mall['logo']?>" width="140px" /></span></div>
			<div class="malldetail">
				<ul>
					<li style="height:25px; line-height:25px; font-size:14px; font-weight:bold; width:500px;"><?=$mall['name']?> (<?=$mall['url']?>)</li>
					<li style="height:25px; line-height:25px; width:500px; overflow:hidden;"><?=$mall['des']?></li>
					<li style="border-bottom:1px dashed #ddd; width:500px;"></li>
					<li style=" height:10px; width:500px;"></li>				
					<li style="height:25px; line-height:25px; width:500px;">货到付款：<?=$mall['hdfk']?> 正规发票：<?=$mall['zgfp']?> 邮费政策：<?=$mall['yfzc']?></li>
					<li style=" height:25px; width:500px; text-align:right"><a href="jump.php?mall_id=<?=$mall['id']?>" class="checkLogin"><img src="template/default/images/gomall.gif" /></a></li>
				</ul>
			</div>
		</div>
		<div class="jsbar"><div class="fxsm">返现说明</div></div>
		<div class="malldesc"><div class="js"><?=str_replace('../../upload','upload',$mall['js'])?></div></div>
	</div>
	
	<div id="right">
		<div id="ad4"><?=AD(4)?></div>
	</div>
	<?php
	include("footer.tpl.php");
	?>
</div>
</body>
</html>
